const apis = {
  Upload: process.env.VUE_APP_API_BASE_URL + '/api/customer/common/upload',
  Swt: 'https://wt.zoosnet.net/LR/Chatpre.aspx?id=LRW43080987',
  // 登陆
  Login: '/api/customer/login/login',
  Logout: '/api/customer/login/logout',
  SendSms: '/api/customer/login/send-code',
  // 个人信息
  GetInfo: '/api/customer/user/get-info',
  GetDistrict: '/api/customer/user/district',
  EditInfo: '/api/customer/user/save',
  // 订单
  GetOrderList: '/api/customer/user/my-order',
  RefundList: '/api/customer/user/refund',
  // 发票
  GetInvoiceList: '/api/customer/user/invoice',
  GetInvTitList: '/api/customer/user/invoice-list',
  AddInvoiceTitle: '/api/customer/user/save-invoice',
  DelInvTitle: '/api/customer/user/invoice-del',
  // 消息中心
  MessageList: '/api/customer/user/news',
  // 收藏
  GetCollect: '/api/customer/collect/list',
  AddCollect: '/api/customer/collect/collect',
  // 购物车
  GetCart: '/api/customer/shopping-cart/list',
  AddCart: '/api/customer/shopping-cart/save',
  DelCart: '/api/customer/shopping-cart/del',
  // 支付
  OrderConfirm: '/api/customer/orders/order-middle',
  CreateOrder: '/api/customer/orders/save-order',
  CreateOrderInfo: '/api/customer/orders-info/save-order-info',
  GetOrderInfo: '/api/customer/orders-info/order-info-detail',
  GetPayWxCode: '/api/customer/wx-pay/wx-pay-code',
  GetPayCallback: '/api/customer/notify/wx-pay-callback',
  // 投诉与建议
  ComplaintList: '/api/customer/user/pro-list',
  AddCompliant: '/api/customer/user/save-prop',
  // 前端
  FirstCategory: '/api/customer/goods/first-category',
  ProductDetail: '/api/customer/goods/detail',
  ProductByCategory: 'api/customer/goods/first-category',
  ProductBySecond: '/api/customer/goods/second-category',
  // 前端页面
  GetNav: '/api/customer/index/nav-list',
  GetTrademark: '/api/customer/index/sb-list',
  GetCopyright: '/api/customer/index/bq-list',
  GetPatent: '/api/customer/index/zl-list',

  // 后期删除
  AddCategory: '/api/customer/category/add',
  AddSecondCategory: '/api/customer/category/add-second',
  AddProduct: '/api/customer/goods/add',
  SearchProduct: '/api/customer/index/search'
}

export default apis
